<?php
$Response = NULL;
if(!is_session_started()){
	session_start();
}
define("Server", "123.207.86.245");
define("User", "grey");
define("Pwd", "4690");
define("Database", "bbsproject");
function is_session_started()
{
    if ( php_sapi_name() !== 'cli' ) {
        if ( version_compare(phpversion(), '5.4.0', '>=') ) {
            return session_status() === PHP_SESSION_ACTIVE ? TRUE : FALSE;
        } else {
            return session_id() === '' ? FALSE : TRUE;
        }
    }
    return FALSE;
}
?>